 <!DOCTYPE html>
 <html lang="en">
 <head>
     <meta charset="UTF-8">
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <title>Document</title>
 </head>
 <body>
     <script src="../js/jquery-2.1.1.min.js"></script>
     <script>
         var str=[{latitude:'29.046377',longitude:'119.58266'},{latitude:'1',longitude:'2'}];
         for(var i in str){
             console.log(str[i]);
             for(var j in str[i]){
                 console.log("-----"+str[i][j]);
             }
         }
     </script>
 </body>
 </html>